﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCAMap.AMap
{
    /// <summary>
    /// 高德地图WebApi服务配置
    /// </summary>
    public class AMapWebApiConfig
    {
        /// <summary>
        /// 基础请求地址
        /// </summary>
        private static string BaseHost = "https://restapi.amap.com";
        /// <summary>
        /// 距离测量接口方法地址
        /// </summary>
        private static string distanceUrl = "/v3/distance";
        /// <summary>
        /// 距离测量接口方法地址
        /// </summary>
        public static string DistanceUrl { get { return string.Concat(BaseHost, distanceUrl); } }

        private static string locationUrl = "/v3/geocode/regeo";

        public static string LocationUrl { get { return string.Concat(BaseHost, locationUrl); } }

        private static string geographUrl = "/v3/config/district";

        public static string GeographUrl { get { return string.Concat(BaseHost, geographUrl); } }

        public static string directionUrl = "/v5/direction/electrobike";

        public static string DirectionUrl { get { return string.Concat(BaseHost, directionUrl); } }
        /// <summary>
        /// 驾车导航距离
        /// </summary>

        public static string directionDrivingUrl = "/v5/direction/driving";

        public static string DirectionDrivingUrl { get { return string.Concat(BaseHost, directionDrivingUrl); } }
    }
}
